package com.wecan.oauth.DTO.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author liuzhihao
 * @Date 2022.01.20
 * @Version ${version}
 * @Description ${description}
 */
@Schema(title = "扫码登录")
@Data
public class ScanLoginDTO {
    @Schema(title = "授权码", required = true, name = "authCode")
    @NotBlank(message = "授权码不能为空")
    private String authCode;
}
